import React, { Component } from 'react'
import Header from 'router/common/Header'
import Footer from 'router/common/Footer'

import ValidateContent from './ValidateContent'

import { Route } from 'react-router-dom'
import PropTypes from 'prop-types'

import 'css/register/validate.scss'
class ValidatePage extends Component {
  render() {
    const { match } = this.props
    return (
      <div className='register-bg'>
        <Header />
        <Route exact path={`${match.path}`} component={ValidateContent}></Route>
        <Footer />
      </div>
    )
  }
}
ValidatePage.propTypes = {
  match: PropTypes.object
}
export default ValidatePage